﻿#ifndef MEASURE_TS_H
#define MEASURE_TS_H

#include "halconcpp/HalconCpp.h"
using namespace HalconCpp;
struct SM_TS
{
    //换算比例
    float para1;
    float para2;// 弃用
    //——————————————————————垂直方向
    //补偿值
    float para3;
    //标准值
    float para4;
    //上限值
    float para5;
    //下限值
    float para6;

    //——————————————————————水平方向
    //补偿值
    float para7;
    //标准值
    float para8;
    //上限值
    float para9;
    //下限值
    float para10;


    //------------------图像处理

    //粗定定位阈值
    float para17;
    //找边sigma
    float para19;
    //找边阈值
    float para20;
    // 异性类型
    float para21;
};
class Measure_TS
{
public:
    Measure_TS();
    int M_TS(HObject Img,HTuple ModelId,HTuple &OutPara,HObject &OutImg);
	HObject Map;
	HTuple CameraParameters;
    SM_TS m_part;
public:
    bool Flag1;
    bool Flag2;
	bool Flag11;
	bool Flag22;

};

#endif // MEASURE_TS_H
